package com.example.pickerview;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import androidx.annotation.Nullable;

/**
 * @ClassName TestActivity
 * @Description TODO
 * @Author ZB
 * @Date 2021/5/20 0:38
 * @Version 1.0
 **/
public class TestActivity extends Activity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_test);
        TextView textView = findViewById(R.id.text11);
        Intent intent = getIntent();
        String one = intent.getStringExtra("one");
        String two = intent.getStringExtra("two");
        textView.setText(one+two);
    }
}
